/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */

package hyperbeam.Estructuras;

/**
 * Representa una fuente de Luz
 * @author Programmer
 */
public class Luz {
    private Punto3D posicion;
    private int red,green,blue;
    /*Factor Atenuacion*/
    private double C1,C2,C3;
    private double intensidad;

    public int getBlue() {
        return blue;
    }

    public int getGreen() {
        return green;
    }

    public int getRed() {
        return red;
    }
    
    public Punto3D getPosicion() {
        return posicion;
    }

    public double getIntensidad() {
        return intensidad;
    }

    public double getC1() {
        return C1;
    }

    public double getC2() {
        return C2;
    }

    public double getC3() {
        return C3;
    }

    public void setAtenuacion(double C1, double C2, double C3){
        this.C1 = C1;
        this.C2 = C2;
        this.C3 = C3;
    }

    public Luz(Punto3D posicion, int red, int green, int blue) {
        this.posicion = posicion;
        this.red = red;
        this.green = green;
        this.blue = blue;
    }

    public Luz(double X, double Y, double Z, int red, int green, int blue){
        this.posicion = new Punto3D(X,Y,Z);
        this.red = red;
        this.green = green;
        this.blue = blue;
    }

    public Luz(double X, double Y, double Z, int red, int green, int blue, double intensidad){
        this.posicion = new Punto3D(X,Y,Z);
        this.red = red;
        this.green = green;
        this.blue = blue;
        this.intensidad = intensidad;
    }
}
